

// rollup -c 进行打包


/* eslint-disable */
import json from 'rollup-plugin-json'
import resolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs'

import * as path from 'path'

let dstFile = path.join(__dirname,'../editor/src/math/index.js');

export default {
    input: './index.js',
    output: {
        file: dstFile,
        format: 'cjs'
    },
    plugins: [
        json(),
        resolve(),
        commonjs()
    ]
};
